package vashion.azeroth.contant;

public enum PublishFilesErrorEnum {

	PUB_FILE_FAIL(7101, "发布帖子失败"),

	GET_FILES_FAIL(7102, "获取帖子失败"),

	MYFILES_NULL(7103, "当前会员未发布过文章"),
	
	POSITION_NULL(7104, "位置设置已开启，未设置详细地址信息"),

	CHOSEN_NULL(7105, "获取精选文章为空"),
	
	TAGS_NULL(7106, "按tags获取文章为空"),
	
	MY_FOLLOWER_FILES_NULL(7106, "我关注的人发布的文章为空"),
	
	FEED_APPROVAL_CNT(7107, "帖子点赞数为空"),
	
	CHOSEN_FILES_FAIL(7108, "后台置顶帖子失败"),
	
	DELETE_FILES_FAIL(7108, "后台删除帖子异常"),
	
	ACTION_MEMBERID_NULL(7109, "未传入执行删除帖子操作的用户id"),
	
	FEED_CHOSEN(7110, "帖子被后台置顶"),
	
	FEED_DELETE(7111, "帖子被后台删除"),
	
	FEED_NORMAL(7112, "帖子正常显示"),
	
	RESTORE_FILES_FAIL(7113, "后台还原帖子异常"),
	
	ITEM_NULL(7114, "帖子关联商品id为空"),
	
	;

	private int errorCode;
	private String errorMessage;

	public int getErrorCode() {
		return errorCode;
	}

	public String getErrorMessage() {
		return errorMessage;
	}

	private PublishFilesErrorEnum(int errorCode, String errorMessage) {
		this.errorCode = errorCode;
		this.errorMessage = errorMessage;
	}

}
